< Prev(J) / Next(K) > / View :

Filename: /text/scalc/01/04060101.xhp

(bookmark: bm_id3148946)
Function Wizard; databases
functions; database functions
databases; functions in Office Calc

関数ウィザード; データベース
関数; データベース関数
データベース; Office Calc の関数

Database Functions
データベース関数(hd_id3148946.1)

(variable: datenbanktext)This section deals with functions used with data organized as one row of data for one record.
(variable: datenbanktext)ここでは、データベース (1 行のデータを 1 つのレコードと見なす) のデータを処理する関数について説明します。!(par_id3145173.2)

Note Icon 注マーク The Database category may be confused with a database integrated in Office. However, there is no connection between a database in Office and the Database category in Office Calc.
Database カテゴリは、Office に統合されているデータベースと混同される場合があります。Office のデータベースと Office Calc の Database カテゴリとの間に関連はありません。(par_id3154016.186)

Example Data:
データ例:(hd_id3150329.190)

The following data will be used in some of the function description examples:
ここでは、いくつかの関数を説明するときに次のデータを例として使用します。(par_id3153713.191)

The range A1:E10 lists the children invited to Joe's birthday party. The following information is given for each entry: column A shows the name, B the grade, then age in years, distance to school in meters and weight in kilograms.
範囲 A1:E10 は Joe 君の誕生日パーティに招待した子供のリストです。各エントリには次のような情報が提供されています。列 A には名前、B には学年、年齢、通学路 (メートル)、および体重 (キログラム) が入っています。(par_id3155766.3)

A
A(par_id3145232.4)

B
B(par_id3146316.5)

C
C(par_id3150297.6)

D
D(par_id3150344.7)

E
E(par_id3150785.8)

1
1(par_id3150090.9)

Name
名前(par_id3152992.10)

Grade
学年(par_id3155532.11)

Age
年齢(par_id3156448.12)

Distance to School
学校への距離(par_id3154486.13)

Weight
体重(par_id3152899.14)

2
2(par_id3153816.15)

Andy
Andy(par_id3151240.16)

3
3(par_id3156016.17)

9
9(par_id3145073.18)

150
150(par_id3154956.19)

40
40(par_id3153976.20)

3
3(par_id3150894.21)

Betty
Betty(par_id3152870.22)

4
4(par_id3149692.23)

10
10(par_id3154652.24)

1000
1000(par_id3149381.25)

42
42(par_id3153812.26)

4
4(par_id3146965.27)

Charles
Charles(par_id3155596.28)

3
3(par_id3147244.29)

10
10(par_id3149871.30)

300
300(par_id3155752.31)

51
51(par_id3149052.32)

5
5(par_id3146097.33)

Daniel
Daniel(par_id3147296.34)

5
5(par_id3150393.35)

11
11(par_id3145236.36)

1200
1200(par_id3150534.37)

48
48(par_id3150375.38)

6
6(par_id3159121.39)

Eva
Eva(par_id3150456.40)

2
2(par_id3146886.41)

8
8(par_id3149945.42)

650
650(par_id3157904.43)

33
33(par_id3149352.44)

7
7(par_id3150028.45)

Frank
Fランク(par_id3145826.46)

2
2(par_id3150743.47)

7
7(par_id3154844.48)

300
300(par_id3148435.49)

42
42(par_id3148882.50)

8
8(par_id3150140.51)

Greta
Greta(par_id3146137.52)

1
1(par_id3148739.53)

7
7(par_id3148583.54)

200
200(par_id3154556.55)

36
36(par_id3155255.56)

9
9(par_id3145141.57)

Harry
Harry(par_id3153078.58)

3
3(par_id3149955.59)

9
9(par_id3150005.60)

1200
1200(par_id3155951.61)

44
44(par_id3145169.62)

10
10(par_id3153571.63)

Irene
Irene(par_id3148761.64)

2
2(par_id3149877.65)

8
8(par_id3154327.66)

1000
1000(par_id3155435.67)

42
42(par_id3145353.68)

11
11(par_id3150662.69)

12
12(par_id3150568.70)

13
13(par_id3149393.71)

Name
名前(par_id3153544.72)

Grade
学年(par_id3158414.73)

Age
年齢(par_id3152820.74)

Distance to School
学校への距離(par_id3154866.75)

Weight
体重(par_id3150471.76)

14
14(par_id3153920.77)

>600
>600(par_id3148429.78)

15
15(par_id3152588.79)

16
16(par_id3083286.80)

DCOUNT
DCOUNT(par_id3163823.81)

5
5(par_id3145083.82)


The formula in cell B16 is =DCOUNT(A1:E10;0;A13:E14)
セル B16 の数式は、=DCOUNT(A1:E10;0;A13:E14) です。(par_id3149282.83)

Database Function Parameters:
データベース関数のパラメータ:(hd_id3150962.192)

The following items are the parameter definitions for all database functions:
次に示す項目は、全データベース関数のパラメータ定義です。(par_id3155837.84)

Database is the cell range defining the database.
データベース は、データベースとして使用するセル範囲です。(par_id3149453.85)

DatabaseField specifies the column where the function operates on after the search criteria of the first parameter is applied and the data rows are selected. It is not related to the search criteria itself. Use the number 0 to specify the whole data range. (variable: quotes)To reference a column by means of the column header name, place quotation marks around the header name.
データベースフィールド は、最初のパラメータの検索条件が適用され、データ行が選択されたあとに関数が実行される列を指定します。検索条件自体には関係しません。データ範囲全体を指定するには、数字 0 を使用します。(variable: quotes)列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(par_id3151272.86)

SearchCriteria is the cell range containing search criteria. If you write several criteria in one row they are connected by AND. If you write the criteria in different rows they are connected by OR. Empty cells in the search criteria range will be ignored.
検索条件 は、検索条件を含むセル範囲です。1 行に複数の条件を書き込むと、それらは AND で結合されます。異なる行に条件を書き込むと、それらは OR で結合されます。検索条件範囲内の空白セルは、無視されます。(par_id3147083.87)

Choose (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate to define how Office Calc acts when searching for identical entries.
[PO-fuzzy@scalc\01.po] ※※※未訳※※※(par_id3151188.188)

See also the Wiki page about Conditional Counting and Summation.
条件付き計算と合計 については、Wiki ページも参照してください。(par_id3882869.)

(section: Section1) (bookmark: bm_id3150882)
DCOUNT function
counting rows;with numeric values

DCOUNT 関数
行のカウント; 数値が入った行
(bookmark: bm_id3152926)

DCOUNT
DCOUNT(hd_id3150882.88)

DCOUNT counts the number of rows (records) in a database that match the specified search criteria and contain numerical values.
DCOUNTは、検索条件に一致する数値を含むデータベース内の行 (レコード) 数を返します。(par_id3156133.89)

(embed text/shared/00/00000001.xhp#regulaer : linkinfo)

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate.
検索機能では、正規表現がサポートされています。テキストの入力が終わったらすぐに、たとえば「all.*」と入力してみてください。正規表現そのものを検索したい場合は、各文字の前に「\」を付ける必要があります。ツール → オプション → Office Calc → 計算式 で、正規表現の自動変換のオン/オフを切り替えられます。 (par_id3147418.55)

(/embed text/shared/00/00000001.xhp#regulaer)

Syntax
構文(hd_id3156099.90)

DCOUNT(Database; DatabaseField; SearchCriteria)
DCOUNT(データベース; データベースフィールド; 検索条件)(par_id3153218.91)

For the DatabaseField parameter you can enter a cell to specify the column, or enter the number 0 for the entire database. The parameter cannot be empty. (embed: text/scalc/01/04060101.xhp#quotes : linkinfo)To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(/embed: text/scalc/01/04060101.xhp#quotes)

データベースフィールドパラメータでは、セルに入力して列を指定したり、数字 0 を入力してデータベース全体を指定したりすることができます。このパラメータを空にすることはできません。(embed: text/scalc/01/04060101.xhp#quotes : linkinfo)To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(/embed: text/scalc/01/04060101.xhp#quotes)
(par_id3153273.187)

Example
(hd_id3154743.92)

In the example above (scroll up, please), we want to know how many children have to travel more than 600 meters to school. The result is to be stored in cell B16. Set the cursor in cell B16. Enter the formula =DCOUNT(A1:E10;0;A13:E14) in B16. The Function Wizard helps you to input ranges.
上記の例 (上にスクロールしてください) では、学校までの距離が 600 メートルを超える子供の数を調べます。この結果は、セル B16 に格納されます。セル B16 にカーソルを置きます。B16 に数式 =DCOUNT(A1:E10;0;A13:E14) を入力します。範囲の入力には、関数ウィザード が役立ちます。(par_id3153623.93)

Database is the range of data to be evaluated, including its headers: in this case A1:E10. DatabaseField specifies the column for the search criteria: in this case, the whole database. SearchCriteria is the range where you can enter the search parameters: in this case, A13:E14.
データベース は、ヘッダーを含む評価対象のデータ範囲です。この場合は、A1:E10 です。データベースフィールド は、検索条件の列を指定します。この場合は、データベース全体です。検索条件 は、検索パラメータを入力できる範囲です。この場合は、A13:E14 です。(par_id3149142.94)

To learn how many children in second grade are over 7 years of age, delete the entry >600 in cell D14 and enter 2 in cell B14 under Grade, and enter >7 in cell C14 to the right. The result is 2. Two children are in second grade and over 7 years of age. As both criteria are in the same row, they are connected by AND.
2 年生で 7 歳を過ぎている子供の数を知るには、セル D14 の入力 >600 を削除し、Grade のセル B14 に 2 を入力し、右のセル C14 に >7 を入力します。結果は 2 です。2 人の子供が 2 年生で 7 歳を過ぎています。両方の条件は同じ行内にあるので、AND によって結合されます。(par_id3145652.95)

(/section: Section1) (section: Section2) (bookmark: bm_id3156123)
DCOUNTA function
records;counting in Calc databases
counting rows;with numeric or alphanumeric values

DCOUNTA 関数
レコード数; Calc データベース内のカウント
行のカウント; 英数値を含む
(bookmark: bm_id3154055)

DCOUNTA
DCOUNTA(hd_id3156123.97)

DCOUNTA counts the number of rows (records) in a database that match the specified search conditions, and contain numeric or alphanumeric values.
DCOUNTA は、検索条件に一致する数値またはアルファベット値を含むデータベース内の行 (レコード) 数を返します。(par_id3156110.98)

(embed text/shared/00/00000001.xhp#regulaer : linkinfo)

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate.
検索機能では、正規表現がサポートされています。テキストの入力が終わったらすぐに、たとえば「all.*」と入力してみてください。正規表現そのものを検索したい場合は、各文字の前に「\」を付ける必要があります。ツール → オプション → Office Calc → 計算式 で、正規表現の自動変換のオン/オフを切り替えられます。 (par_id3147418.55)

(/embed text/shared/00/00000001.xhp#regulaer)

Syntax
構文(hd_id3143228.99)

DCOUNTA(Database; DatabaseField; SearchCriteria)
DCOUNTA(データベース; データベースフィールド; 検索条件)(par_id3146893.100)

(embed text/scalc/01/04060101.xhp#quotes : linkinfo)

To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(par_id3151272.86)

(/embed text/scalc/01/04060101.xhp#quotes)

Example
(hd_id3149751.101)

In the example above (scroll up, please), you can search for the number of children whose name starts with an E or a subsequent letter. Edit the formula in B16 to read =DCOUNTA(A1:E10;"Name";A13:E14). Delete the old search criteria and enter >=E under Name in field A14. The result is 5. If you now delete all number values for Greta in row 8, the result changes to 4. Row 8 is no longer included in the count because it does not contain any values. The name Greta is text, not a value. Note that the DatabaseField parameter must point to a column that can contain values.
上記の例 (上にスクロールしてください) では、名前が E 以降の文字で始まる子供の数を検索します。B16 の数式を =DCOUNTA(A1:E10;"Name";A13:E14) に編集します。古い検索条件を削除し、フィールド A14 の Name の下に >=E を入力します。結果は 5 です。行 8 の Greta のすべての数値を削除すると、結果は 4 に変わります。行 8 は値を何も含んでいないので、カウントされなくなります。名前 Greta はテキストで、値ではありません。データベースフィールドパラメータは、値を含むことができる列を指す必要があります。(par_id3153982.102)

(/section: Section2) (section: Section3) (bookmark: bm_id3147256)
DGET function
cell contents;searching in Calc databases
searching;cell contents in Calc databases

DGET 関数
セルの内容;Calc データベース内の検索
検索;Calc データベース内のセルの内容
(bookmark: bm_id3149198)

DGET
DGET(hd_id3147256.104)

DGET returns the contents of the referenced cell in a database which matches the specified search criteria. In case of an error, the function returns either #VALUE! for no row found, or Err502 for more than one cell found.
DGET は、検索条件に一致する、データベース内の 1 つのセルの内容を返します。セルが見つからない場合は #VALUE! を、2 つ以上のセルが見つかると エラー: 502 を返します。(par_id3152801.105)

(embed text/shared/00/00000001.xhp#regulaer : linkinfo)

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate.
検索機能では、正規表現がサポートされています。テキストの入力が終わったらすぐに、たとえば「all.*」と入力してみてください。正規表現そのものを検索したい場合は、各文字の前に「\」を付ける必要があります。ツール → オプション → Office Calc → 計算式 で、正規表現の自動変換のオン/オフを切り替えられます。 (par_id3147418.55)

(/embed text/shared/00/00000001.xhp#regulaer)

Syntax
構文(hd_id3159344.106)

DGET(Database; DatabaseField; SearchCriteria)
DGET(データベース; データベースフィールド; 検索条件)(par_id3154696.107)

(embed text/scalc/01/04060101.xhp#quotes : linkinfo)

To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(par_id3151272.86)

(/embed text/scalc/01/04060101.xhp#quotes)

Example
(hd_id3153909.108)

In the above example (scroll up, please), we want to determine what grade a child is in, whose name was entered in cell A14. The formula is entered in cell B16 and differs slightly from the earlier examples because only one column (one database field) can be entered for DatabaseField. Enter the following formula:
上記の例 (上にスクロールしてください) では、セル A14 に入力した名前の子供がどの学年にいるかを調べます。データベースフィールド には 1 列 (1 つのデータベースフィールド) しか入力できないので、数式はセル B16 に入力され、前の例とは少し異なります。次の数式を入力します:(par_id3155388.109)

=DGET(A1:E10;"Grade";A13:E14)
=DGET(A1:E10;"Grade";A13:E14)(par_id3153096.110)

Enter the name Frank in A14, and you see the result 2. Frank is in second grade. Enter "Age" instead of "Grade" and you will get Frank's age.
A14 に名前 Frank を入力すると、結果 2 が表示されます。Frank は 2 年生です。"Grade" の代わりに "Age" を入力すると、Frank の年齢が表示されます。(par_id3150524.111)

Or enter the value 11 in cell C14 only, and delete the other entries in this row. Edit the formula in B16 as follows:
または、セル C14 だけに値 11 を入力して、この行のほかの入力を削除します。B16 の数式を次のように編集します:(par_id3148833.112)

=DGET(A1:E10;"Name";A13:E14)
=DGET(A1:E10;"Name";A13:E14)(par_id3149912.113)

Instead of the grade, the name is queried. The answer appears at once: Daniel is the only child aged 11.
学年のかわりに名前が検査されます。11歳の子供は Daniel 1人です。(par_id3148813.114)

(/section: Section3) (section: Section4) (bookmark: bm_id3149766)
DMAX function
maximum values in Calc databases
searching;maximum values in columns

DMAX 関数
Calc データベース内の最大値
検索;列内の最大値
(bookmark: bm_id3158401)

DMAX
DMAX(hd_id3149766.115)

DMAX returns the maximum content of a cell (field) in a database (all records) that matches the specified search conditions.
DMAX は、検索条件を満たすデータベース内のすべての行 (レコード) の中からセル (フィールド) の最大値を返します。(par_id3154903.116)

(embed text/shared/00/00000001.xhp#regulaer : linkinfo)

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate.
検索機能では、正規表現がサポートされています。テキストの入力が終わったらすぐに、たとえば「all.*」と入力してみてください。正規表現そのものを検索したい場合は、各文字の前に「\」を付ける必要があります。ツール → オプション → Office Calc → 計算式 で、正規表現の自動変換のオン/オフを切り替えられます。 (par_id3147418.55)

(/embed text/shared/00/00000001.xhp#regulaer)

Syntax
構文(hd_id3150771.117)

DMAX(Database; DatabaseField; SearchCriteria)
DMAX(データベース; データベースフィールド; 検索条件)(par_id3159157.118)

(embed text/scalc/01/04060101.xhp#quotes : linkinfo)

To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(par_id3151272.86)

(/embed text/scalc/01/04060101.xhp#quotes)

Example
(hd_id3145420.119)

To find out how much the heaviest child in each grade weighed in the above example (scroll up, please), enter the following formula in B16:
各学年で最も重い子供の体重を知るには (上にスクロールしてください)、次の数式をセル B16 に入力します。(par_id3148442.120)

=DMAX(A1:E10;"Weight";A13:E14)
=DMAX(A1:E10;"Weight";A13:E14)(par_id3148804.121)

Under Grade, enter 1, 2, 3, and so on, one after the other. After entering a grade number, the weight of the heaviest child in that grade appears.
Grade には、1、2、3 などを順に入力します。学年番号を入力すると、その学年でもっとも重い子供の体重が表示されます。(par_id3150510.122)

(/section: Section4) (section: Section5) (bookmark: bm_id3159141)
DMIN function
minimum values in Calc databases
searching;minimum values in columns

DMIN 関数
Calc データベース内の最小値
検索; 列内の最小値
(bookmark: bm_id3159152)

DMIN
DMIN(hd_id3159141.123)

DMIN returns the minimum content of a cell (field) in a database that matches the specified search criteria.
DMIN は、データベースにおいて検索基準を満たす行のうち、データベースフィールドの最小値を返します。(par_id3154261.124)

(embed text/shared/00/00000001.xhp#regulaer : linkinfo)

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate.
検索機能では、正規表現がサポートされています。テキストの入力が終わったらすぐに、たとえば「all.*」と入力してみてください。正規表現そのものを検索したい場合は、各文字の前に「\」を付ける必要があります。ツール → オプション → Office Calc → 計算式 で、正規表現の自動変換のオン/オフを切り替えられます。 (par_id3147418.55)

(/embed text/shared/00/00000001.xhp#regulaer)

Syntax
構文(hd_id3147238.125)

DMIN(Database; DatabaseField; SearchCriteria)
DMIN(データベース; データベースフィールド; 検索条件)(par_id3148479.126)

(embed text/scalc/01/04060101.xhp#quotes : linkinfo)

To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(par_id3151272.86)

(/embed text/scalc/01/04060101.xhp#quotes)

Example
(hd_id3151050.127)

To find the shortest distance to school for the children in each grade in the above example (scroll up, please), enter the following formula in B16:
各学年で通学路が最も短い子供を知るには (上にスクロールしてください)、次の数式をセル B16 に入力します。(par_id3148925.128)

=DMIN(A1:E10;"Distance to School";A13:E14)
=DMIN(A1:E10;"Distance to School";A13:E14)(par_id3149161.129)

In row 14, under Grade, enter 1, 2, 3, and so on, one after the other. The shortest distance to school for each grade appears.
行 14 の Grade には、1、2、3 などを順に入力します。各学年の学校への最短距離が表示されます。(par_id3148917.130)

(/section: Section5) (section: Section6) (bookmark: bm_id3154274)
DAVERAGE function
averages; in Calc databases
calculating;averages in Calc databases

DAVERAGE 関数
平均; Calc データベース内
計算; Calc データベース内の平均
(bookmark: bm_id3166435)

DAVERAGE
DAVERAGE(hd_id3154274.131)

DAVERAGE returns the average of the values of all cells (fields) in all rows (database records) that match the specified search criteria.
DAVERAGE は、データベース内で、検索条件を満たすすべての行 (データベースレコード) のすべてのセル (フィールド) の内容の平均値を返します。(par_id3166453.132)

(embed text/shared/00/00000001.xhp#regulaer : linkinfo)

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate.
検索機能では、正規表現がサポートされています。テキストの入力が終わったらすぐに、たとえば「all.*」と入力してみてください。正規表現そのものを検索したい場合は、各文字の前に「\」を付ける必要があります。ツール → オプション → Office Calc → 計算式 で、正規表現の自動変換のオン/オフを切り替えられます。 (par_id3147418.55)

(/embed text/shared/00/00000001.xhp#regulaer)

Syntax
構文(hd_id3146955.133)

DAVERAGE(Database; DatabaseField; SearchCriteria)
DAVERAGE(データベース; データベースフィールド; 検索条件)(par_id3150710.134)

(embed text/scalc/01/04060101.xhp#quotes : linkinfo)

To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(par_id3151272.86)

(/embed text/scalc/01/04060101.xhp#quotes)

Example
(hd_id3152943.135)

To find the average weight of all children of the same age in the above example (scroll up, please), enter the following formula in B16:
年齢が同じ子供たち全員の平均体重を知るには (上にスクロールしてください)、次の数式をセル B16 に入力します。(par_id3149104.136)

=DAVERAGE(A1:E10;"Weight";A13:E14)
=DAVERAGE(A1:E10;"Weight";A13:E14)(par_id3153688.137)

In row 14, under Age, enter 7, 8, 9, and so on, one after the other. The average weight of all children of the same age appears.
行 14 の Age には、7、8、9 などを順に入力します。年齢が同じ子供たち全員の平均体重が表示されます。(par_id3155587.138)

(/section: Section6) (section: Section7) (bookmark: bm_id3159269)
DPRODUCT function
multiplying;cell contents in Calc databases

DPRODUCT 関数
乗算; Calc データベース内のセルの内容
(bookmark: bm_id3159281)

DPRODUCT
DPRODUCT(hd_id3159269.139)

DPRODUCT multiplies all cells of a data range where the cell contents match the search criteria.
DPRODUCT は、セルの内容が検索条件を満たすデータ範囲の、すべてのセルの積を返します。(par_id3152879.140)

(embed text/shared/00/00000001.xhp#regulaer : linkinfo)

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate.
検索機能では、正規表現がサポートされています。テキストの入力が終わったらすぐに、たとえば「all.*」と入力してみてください。正規表現そのものを検索したい場合は、各文字の前に「\」を付ける必要があります。ツール → オプション → Office Calc → 計算式 で、正規表現の自動変換のオン/オフを切り替えられます。 (par_id3147418.55)

(/embed text/shared/00/00000001.xhp#regulaer)

Syntax
構文(hd_id3149966.141)

DPRODUCT(Database; DatabaseField; SearchCriteria)
DPRODUCT(データベース; データベースフィールド; 検索条件)(par_id3154854.142)

(embed text/scalc/01/04060101.xhp#quotes : linkinfo)

To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(par_id3151272.86)

(/embed text/scalc/01/04060101.xhp#quotes)

Example
(hd_id3149802.143)

With the birthday party example above (scroll up, please), there is no meaningful application of this function.
上記誕生日パーティの例では (上にスクロールしてください)、この関数は有効に使用できません。(par_id3148986.144)

(/section: Section7) (section: Section8) (bookmark: bm_id3148462)
DSTDEV function
standard deviations in databases;based on a sample

DSTDEV 関数
データベース内の標準偏差; ひとつの標本にもとづく
(bookmark: bm_id3145370)

DSTDEV
DSTDEV(hd_id3148462.145)

DSTDEV calculates the standard deviation of a population based on a sample, using the numbers in a database column that match the given conditions. The records are treated as a sample of data. That means that the children in the example represent a cross section of all children. Note that a representative result can not be obtained from a sample of less than one thousand.
DSTDEV は、データベースにおいて検索基準を満たす行のうち、データベースフィールドの値の標本をとって、母集団の標準偏差を計算します。つまり、DSTDEV はレコードをデータの標本として扱います。つまり、上記例の子供はすべての子供の典型です。ただし、1000 人に満たない標本だけでは本当の典型にはなり得ません。(par_id3154605.146)

(embed text/shared/00/00000001.xhp#regulaer : linkinfo)

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate.
検索機能では、正規表現がサポートされています。テキストの入力が終わったらすぐに、たとえば「all.*」と入力してみてください。正規表現そのものを検索したい場合は、各文字の前に「\」を付ける必要があります。ツール → オプション → Office Calc → 計算式 で、正規表現の自動変換のオン/オフを切り替えられます。 (par_id3147418.55)

(/embed text/shared/00/00000001.xhp#regulaer)

Syntax
構文(hd_id3149427.147)

DSTDEV(Database; DatabaseField; SearchCriteria)
DSTDEV(データベース; データベースフィールド; 検索条件)(par_id3148661.148)

(embed text/scalc/01/04060101.xhp#quotes : linkinfo)

To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(par_id3151272.86)

(/embed text/scalc/01/04060101.xhp#quotes)

Example
(hd_id3153945.149)

To find the standard deviation of the weight for all children of the same age in the example (scroll up, please), enter the following formula in B16:
年齢が同じ子供たち全員の体重の標準偏差を求めるには (上にスクロールしてください)、次の数式をセル B16 に入力します。(par_id3149934.150)

=DSTDEV(A1:E10;"Weight";A13:E14)
=DSTDEV(A1:E10;"Weight";A13:E14)(par_id3150630.151)

In row 14, under Age, enter 7, 8, 9, and so on, one after the other. The result shown is the standard deviation of the weight of all children of this age.
行 14 の Age には、7、8、9 などを順に入力します。表示される結果は、この年齢の子供たち全員の体重の標準偏差です。(par_id3153536.152)

(/section: Section8) (section: Section9) (bookmark: bm_id3150429)
DSTDEVP function
standard deviations in databases;based on populations

DSTDEVP 関数
データベース内の標準偏差; 母集団にもとづく
(bookmark: bm_id3149523)

DSTDEVP
DSTDEVP(hd_id3150429.153)

DSTDEVP calculates the standard deviation of a population based on all cells of a data range which match the search criteria. The records from the example are treated as the whole population.
DSTDEVP は、検索基準を満たすデータ範囲内のすべてのセルに基づいて、母集団の標準偏差を計算します。つまり、DSTDEVP はレコードを母集団全体として扱います。(par_id3145598.154)

(embed text/shared/00/00000001.xhp#regulaer : linkinfo)

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate.
検索機能では、正規表現がサポートされています。テキストの入力が終わったらすぐに、たとえば「all.*」と入力してみてください。正規表現そのものを検索したい場合は、各文字の前に「\」を付ける必要があります。ツール → オプション → Office Calc → 計算式 で、正規表現の自動変換のオン/オフを切り替えられます。 (par_id3147418.55)

(/embed text/shared/00/00000001.xhp#regulaer)

Syntax
構文(hd_id3145307.155)

DSTDEVP(Database; DatabaseField; SearchCriteria)
DSTDEVP(データベース; データベースフィールド; 検索条件)(par_id3149484.156)

(embed text/scalc/01/04060101.xhp#quotes : linkinfo)

To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(par_id3151272.86)

(/embed text/scalc/01/04060101.xhp#quotes)

Example
(hd_id3153322.157)

To find the standard deviation of the weight for all children of the same age at Joe's birthday party (scroll up, please), enter the following formula in B16:
ジョーの誕生パーティに参加した、年齢が同じ子供たち全員の体重の標準偏差を求めるには (上にスクロールしてください)、次の数式をセル B16 に入力します。(par_id3155431.158)

=DSTDEVP(A1:E10;"Weight";A13:E14)
=DSTDEVP(A1:E10;"Weight";A13:E14)(par_id3148411.159)

In row 14, under Age, enter 7, 8, 9, and so on, one after the other. The result is the standard deviation of the weight for all same-aged children whose weight was checked.
行 14 の Age には、7、8、9 などを順に入力します。結果は、体重を検査された同年齢の子供たち全員の体重の標準偏差です。(par_id3143271.160)

(/section: Section9) (section: Section10) (bookmark: bm_id3154794)
DSUM function
calculating;sums in Calc databases
sums;cells in Calc databases

DSUM 関数
計算; Calc データベース内の合計
合計; Calc データベース内のセル
(bookmark: bm_id3148687)

DSUM
DSUM(hd_id3154794.161)

DSUM returns the total of all cells in a database field in all rows (records) that match the specified search criteria.
DSUM は、入力された検索条件を満たすすべての行 (レコード) のデータベースフィールドの、すべてのセルの合計を返します。(par_id3149591.162)

(embed text/shared/00/00000001.xhp#regulaer : linkinfo)

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate.
検索機能では、正規表現がサポートされています。テキストの入力が終わったらすぐに、たとえば「all.*」と入力してみてください。正規表現そのものを検索したい場合は、各文字の前に「\」を付ける必要があります。ツール → オプション → Office Calc → 計算式 で、正規表現の自動変換のオン/オフを切り替えられます。 (par_id3147418.55)

(/embed text/shared/00/00000001.xhp#regulaer)

Syntax
構文(hd_id3146128.163)

DSUM(Database; DatabaseField; SearchCriteria)
DSUM(データベース; データベースフィールド; 検索条件)(par_id3150989.164)

(embed text/scalc/01/04060101.xhp#quotes : linkinfo)

To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(par_id3151272.86)

(/embed text/scalc/01/04060101.xhp#quotes)

Example
(hd_id3159079.165)

To find the length of the combined distance to school of all children at Joe's birthday party (scroll up, please) who are in second grade, enter the following formula in B16:
Joe の誕生日パーティに参加した子供たちのうち、2 年生全員の通学路の合計距離を求めるには (上にスクロールしてください)、次の数式をセル B16 に入力します:(par_id3152766.166)

=DSUM(A1:E10;"Distance to School";A13:E14)
=DSUM(A1:E10;"Distance to School";A13:E14)(par_id3151312.167)

Enter 2 in row 14 under Grade. The sum (1950) of the distances to school of all the children who are in second grade is displayed.
行 14 の Grade には、2 を入力します。2 年生の子供たち全員の学校への距離の合計 (1950) が表示されます。(par_id3150596.168)

(/section: Section10) (section: Section11) (bookmark: bm_id3155614)
DVAR function
variances;based on samples

DVAR 関数
分散; 標本にもとづく
(bookmark: bm_id3159391)

DVAR
DVAR(hd_id3155614.170)

DVAR returns the variance of all cells of a database field in all records that match the specified search criteria. The records from the example are treated as a sample of data. A representative result cannot be obtained from a sample population of less than one thousand.
DVAR は、データベースにおいて検索条件を満たす行のうち、データベースフィールドの値の標本をとって、平方偏差を計算します。つまり、DVAR はレコードをデータの標本として扱います。ただし、1000 人に満たない標本だけでは本当の典型にはなり得ません。(par_id3154418.171)

(embed text/shared/00/00000001.xhp#regulaer : linkinfo)

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate.
検索機能では、正規表現がサポートされています。テキストの入力が終わったらすぐに、たとえば「all.*」と入力してみてください。正規表現そのものを検索したい場合は、各文字の前に「\」を付ける必要があります。ツール → オプション → Office Calc → 計算式 で、正規表現の自動変換のオン/オフを切り替えられます。 (par_id3147418.55)

(/embed text/shared/00/00000001.xhp#regulaer)

Syntax
構文(hd_id3154825.172)

DVAR(Database; DatabaseField; SearchCriteria)
DVAR(データベース; データベースフィールド; 検索条件)(par_id3156138.173)

(embed text/scalc/01/04060101.xhp#quotes : linkinfo)

To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(par_id3151272.86)

(/embed text/scalc/01/04060101.xhp#quotes)

Example
(hd_id3151257.174)

To find the variance of the weight of all children of the same age of the above example (scroll up, please), enter the following formula in B16:
年齢が同じ子供たち全員の体重の平方偏差を求めるには (上にスクロールしてください)、次の数式をセル B16 に入力します(par_id3153701.175)

=DVAR(A1:E10;"Weight";A13:E14)
=DVAR(A1:E10;"Weight";A13:E14)(par_id3153676.176)

In row 14, under Age, enter 7, 8, 9, and so on, one after the other. You will see as a result the variance of the weight values for all children of this age.
行 14 の Age には、7、8、9 などを順に入力します。結果として、この年齢の子供たち全員の体重値の分散が表示されます。(par_id3153798.177)

(/section: Section11) (section: Section12) (bookmark: bm_id3153880)
DVARP function
variances;based on populations

DVARP 関数
分散; 母集団にもとづく
(bookmark: bm_id3153891)

DVARP
DVARP(hd_id3153880.178)

DVARP calculates the variance of all cell values in a database field in all records that match the specified search criteria. The records are from the example are treated as an entire population.
DVARP は、データベースにおいて検索条件を満たす行のうち、データベースフィールドのすべての値を使用して、平方偏差を計算します。つまり、DVARP はレコードを母集団全体として扱います。(par_id3155119.179)

(embed text/shared/00/00000001.xhp#regulaer : linkinfo)

The search supports regular expressions. You can enter "all.*", for example to find the first location of "all" followed by any characters. If you want to search for a text that is also a regular expression, you must precede every character with a \ character. You can switch the automatic evaluation of regular expression on and off in (in case of MAC)Office - Preferences(/in case of MAC)(in other case)Tools - Options(/in other case) - Office Calc - Calculate.
検索機能では、正規表現がサポートされています。テキストの入力が終わったらすぐに、たとえば「all.*」と入力してみてください。正規表現そのものを検索したい場合は、各文字の前に「\」を付ける必要があります。ツール → オプション → Office Calc → 計算式 で、正規表現の自動変換のオン/オフを切り替えられます。 (par_id3147418.55)

(/embed text/shared/00/00000001.xhp#regulaer)

Syntax
構文(hd_id3145774.180)

DVARP(Database; DatabaseField; SearchCriteria)
DVARP(データベース; データベースフィールド; 検索条件)(par_id3153776.181)

(embed text/scalc/01/04060101.xhp#quotes : linkinfo)

To reference a column by means of the column header name, place quotation marks around the header name.
列ヘッダー名で列を参照するには、ヘッダー名を引用符で囲みます。(par_id3151272.86)

(/embed text/scalc/01/04060101.xhp#quotes)

Example
(hd_id3151110.182)

To find the variance of the weight for all children of the same age at Joe's birthday party (scroll up, please), enter the following formula in B16:
Joe の誕生日会に招待された同年齢の子供全員の体重の標本分散を検査します (上にスクロールしてください)。B16 に次の数式を入力します:(par_id3147099.183)

=DVARP(A1:E10;"Weight";A13:E14)
=DVARP(A1:E10;"Weight";A13:E14)(par_id3147322.184)

In row 14, under Age, enter 7, 8, 9, and so on, one after the other. The variance of the weight values for all children of this age attending Joe's birthday party appears.
行 14 の Age には、7、8、9 などを順に入力します。Joe の誕生日パーティーに参加する、この年齢の子供たち全員の体重値の分散が表示されます。(par_id3146902.185)

(/section: Section12)

(embed text/scalc/01/04060100.xhp#drking : linkinfo)

Calc functions in the OpenOffice.org Wiki
OpenOffice.org Wiki Calc の関数(par_id0902200809540918.)

(/embed text/scalc/01/04060100.xhp#drking)


< Prev / Next >